package com.zj.web.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RedPacketActivityDTO implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long activityId;//"主键"
    private String title;//"活动标题"
    private Double totalAmount;//"红包总金额"
    private Integer totalPackets;//"红包总数量"
    private LocalDateTime startTime;//"开始时间"
    private LocalDateTime endTime;//"结束时间"
    private Integer status;//"状态"'0-未开始 1-进行中 2-已结束'
}
